﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Administration.aspx.cs" Inherits="ESAM_Assignment_3.Administration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="pnlContent" runat="server" BackColor="#FFCC99">
        <br />
        This webpage is meant to be viewed only by the user: ADMIN<br />
        <br />
        The following hyperlinks are meant for administrative purposes only and 
        therefore must be restricted to the user: ADMIN<br />
        <br />
        <ul>
            <li style="list-style-type:square;">
                <asp:HyperLink ID="hlManageUsers" runat="server" 
                    NavigateUrl="~/ManageUsers.aspx">Manage Users</asp:HyperLink>
            </li>
            <li style="list-style-type:square;">
                <asp:HyperLink ID="hlManageComments" runat="server" 
                    NavigateUrl="~/ManageComments.aspx">Manage Comments</asp:HyperLink>
            </li>
        </ul>
        Demonstrate Exception Handling<br />
        <br />
        The button will cause an
        <asp:Button ID="btnError" runat="server" onclick="btnError_Click" 
            Text="Overflow" />
        <br />
        <br />
    </asp:Panel>
</asp:Content>
